﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace C4F.DevKit.Bluetooth.ServiceAndDeviceDiscovery
{
    /// <summary>
    /// Represents the SDP_ELEMENT_DATA structure.
    /// </summary>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    public struct SdpElementData
    {
        /// <summary>
        /// Enumeration of SDP element types.
        /// </summary>
        public SdpType Type;
        /// <summary>
        /// Specific type of SDP element, used to further specify generic 
        /// element types.
        /// </summary>
        public SdpSpecificType SpecificType;
        /// <summary>
        /// Union containing the element data.
        /// </summary>
        public SdpUnion Data;
    }
}
